package com.isoft.pojo.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class ExportRequestDTO {
    private String keyword;
    private String operationType;

    // 明确指定前端传递的日期时间格式，与前端保持一致
    //@DateTimeFormat(pattern = "yyyy-MM-dd ")
    private LocalDate startDate;

    //@DateTimeFormat(pattern = "yyyy-MM-dd ")
    private LocalDate endDate;
}
